﻿<Window x:Class="HeadLinx.AD.Explorer.SetRunningAsDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Set Running As"
        Width="314"
        Height="160"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterScreen"
        Loaded="Window_Loaded">
    <StackPanel>
        <Label Margin="0,5,0,0">Set the user to run as:</Label>
        <TextBox FontFamily="Verdana"
                 FontSize="16"
                 Name="txtRunAsUser"
                 Margin="0,5,0,0"></TextBox>
        <CheckBox Name="chkAsMyself"
                  Margin="0,2"
                  HorizontalAlignment="Left"
                  Click="chkAsMyself_Click">As myself ({0})</CheckBox>
        <StackPanel Orientation="Horizontal"
                    Margin="0,5"
                    HorizontalAlignment="Right">
            <Button Name="btnOK"
                    Margin="5"
                    Padding="2"
                    MinWidth="75"
                    IsDefault="True"
                    Click="btnOK_Click">OK</Button>
            <Button Name="btnCancel"
                    Margin="5"
                    Padding="2"
                    MinWidth="75"
                    IsCancel="True">Cancel</Button>
        </StackPanel>
    </StackPanel>
</Window>
